<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>usb: XUsb_DeviceConfig Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">usb
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_x_usb___device_config.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">XUsb_DeviceConfig Struct Reference<div class="ingroups"><a class="el" href="group__usb.html">Overview</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="struct_x_usb___device_config.html" title="The XUsb_DeviceConfig structure contains the configuration information to configure the USB controlle...">XUsb_DeviceConfig</a> structure contains the configuration information to configure the USB controller for DEVICE mode.  
 <a href="struct_x_usb___device_config.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:afabc76c53b986e9ae1c5ae30f52789f9"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___device_config.html#afabc76c53b986e9ae1c5ae30f52789f9">NumEndpoints</a></td></tr>
<tr class="memdesc:afabc76c53b986e9ae1c5ae30f52789f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of Endpoints.  <a href="#afabc76c53b986e9ae1c5ae30f52789f9">More...</a><br/></td></tr>
<tr class="separator:afabc76c53b986e9ae1c5ae30f52789f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6448bf5499b369be43e341c0edf109ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_usb___ep_config.html">XUsb_EpConfig</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___device_config.html#a6448bf5499b369be43e341c0edf109ea">Ep</a> [<a class="el" href="group__usb.html#gac10c01aa71b29e898218eb4ffb61bea5">XUSB_MAX_ENDPOINTS</a>]</td></tr>
<tr class="memdesc:a6448bf5499b369be43e341c0edf109ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">An array of end points.  <a href="#a6448bf5499b369be43e341c0edf109ea">More...</a><br/></td></tr>
<tr class="separator:a6448bf5499b369be43e341c0edf109ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39868eeb033b4118b6e80f11a819d79c"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___device_config.html#a39868eeb033b4118b6e80f11a819d79c">Status</a></td></tr>
<tr class="memdesc:a39868eeb033b4118b6e80f11a819d79c"><td class="mdescLeft">&#160;</td><td class="mdescRight">USB device Status.  <a href="#a39868eeb033b4118b6e80f11a819d79c">More...</a><br/></td></tr>
<tr class="separator:a39868eeb033b4118b6e80f11a819d79c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2e570d2cf6027c87adee4304b6afd79"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___device_config.html#aa2e570d2cf6027c87adee4304b6afd79">CurrentConfiguration</a></td></tr>
<tr class="memdesc:aa2e570d2cf6027c87adee4304b6afd79"><td class="mdescLeft">&#160;</td><td class="mdescRight"><pre class="fragment">      Current state of enumeration
</pre><p> enumerated (1)/Not enumerated (0)  <a href="#aa2e570d2cf6027c87adee4304b6afd79">More...</a><br/></td></tr>
<tr class="separator:aa2e570d2cf6027c87adee4304b6afd79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53ebfe09517736ee2ca350e4d96e996c"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___device_config.html#a53ebfe09517736ee2ca350e4d96e996c">CurrentSpeed</a></td></tr>
<tr class="memdesc:a53ebfe09517736ee2ca350e4d96e996c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current Speed.  <a href="#a53ebfe09517736ee2ca350e4d96e996c">More...</a><br/></td></tr>
<tr class="separator:a53ebfe09517736ee2ca350e4d96e996c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="struct_x_usb___device_config.html" title="The XUsb_DeviceConfig structure contains the configuration information to configure the USB controlle...">XUsb_DeviceConfig</a> structure contains the configuration information to configure the USB controller for DEVICE mode. </p>
<p>This data structure is used with the <a class="el" href="group__usb.html#ga9c50c0ee6d36d4b87a40018c2ad0fd25" title="This function initializes USB End points. ">XUsb_ConfigureDevice()</a> function call. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="aa2e570d2cf6027c87adee4304b6afd79"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XUsb_DeviceConfig::CurrentConfiguration</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><pre class="fragment">      Current state of enumeration
</pre><p> enumerated (1)/Not enumerated (0) </p>

<p>Referenced by <a class="el" href="xusb__cp9_8h.html#a05b34453f563c02ff58a34f561ce0dd0">GetConfiguration()</a>, <a class="el" href="xusb__dma__intr__storage_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>, <a class="el" href="xusb__cp9_8h.html#aa8556bb31c18a1a79e669d398eb3d550">SetConfiguration()</a>, <a class="el" href="xusb__storage_8h.html#a8bd3ecc4e2acd07b864ea2392a0394f4">UsbIfIntrHandler()</a>, <a class="el" href="xusb__keyboard_8c.html#aa8f2bcd4c9e30a4811003990864522af">UsbKbdExample()</a>, and <a class="el" href="xusb__mouse_8c.html#a714c06502349d8b6e0d080156ef14a1b">UsbMouseExample()</a>.</p>

</div>
</div>
<a class="anchor" id="a53ebfe09517736ee2ca350e4d96e996c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XUsb_DeviceConfig::CurrentSpeed</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Current Speed. </p>

<p>Referenced by <a class="el" href="xusb__storage_8c.html#a386bfc503aaebdfd92028284d6fb63f0">Ep1IntrHandler()</a>, <a class="el" href="xusb__cp9_8h.html#ab8ca0ad29df636d913b014873634e94f">GetDescriptor()</a>, <a class="el" href="xusb__storage__polled__mode_8c.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a>, <a class="el" href="xusb__storage_8h.html#aa3bc2a29a012dcb0b3c4afc5d2ed2843">Read10()</a>, <a class="el" href="xusb__dma__intr__storage_8c.html#a20c10bb6c0fae679e5f4309d4f82e8a1">ReadTransfer()</a>, <a class="el" href="xusb__storage_8c.html#ac7e4e799fabb2ebbea49a1eafd6625c8">Write10()</a>, <a class="el" href="xusb__dma__intr__storage_8c.html#a92a7e0322925656f0e14d4f57dc004c9">WriteTransfer()</a>, <a class="el" href="group__usb.html#gaeab13bf4d5ed84b5b9e0c1c651f50aaa">XUsb_CfgInitialize()</a>, and <a class="el" href="group__usb.html#gacc119aa9f628ab0cc3fac2f63073e386">XUsb_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a6448bf5499b369be43e341c0edf109ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_usb___ep_config.html">XUsb_EpConfig</a> XUsb_DeviceConfig::Ep[<a class="el" href="group__usb.html#gac10c01aa71b29e898218eb4ffb61bea5">XUSB_MAX_ENDPOINTS</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An array of end points. </p>

<p>Referenced by <a class="el" href="xusb__cp9_8h.html#a33729d6b78e329bb598c6f06e9f80c11">EP0ProcessInToken()</a>, <a class="el" href="xusb__cp9_8h.html#a27bfda5402c9f09018d88bf739cef6df">EP0ProcessOutToken()</a>, <a class="el" href="xusb__storage_8h.html#a386bfc503aaebdfd92028284d6fb63f0">Ep1IntrHandler()</a>, <a class="el" href="xusb__storage_8h.html#a6030c0dc187b2ca30a157d5c12fb3101">Ep2IntrHandler()</a>, <a class="el" href="xusb__cp9_8h.html#a05b34453f563c02ff58a34f561ce0dd0">GetConfiguration()</a>, <a class="el" href="xusb__cp9_8h.html#a4a4a0285e230799d49ba9c155d478735">GetInterface()</a>, <a class="el" href="xusb__storage_8h.html#a58677e910a98e950bd94400b386584e0">GetMaxLUN()</a>, <a class="el" href="xusb__cp9_8h.html#a7586176b8d7887141ac9ca8e2cb54652">GetStatus()</a>, <a class="el" href="xusb__storage_8h.html#a3b40155d0d9fa44133905dd9f6f02ee7">InitUsbInterface()</a>, <a class="el" href="xusb__cp9_8h.html#af8ce6abb665614a213d352a7dfe02697">LoadEP0()</a>, <a class="el" href="xusb__cp9_8h.html#aecd8f2cb6543de9f51b92df0880add14">SetClearFeature()</a>, <a class="el" href="xusb__cp9_8h.html#aa8556bb31c18a1a79e669d398eb3d550">SetConfiguration()</a>, <a class="el" href="xusb__cp9_8h.html#a0e70dcdbdf3db1095a5b1b4128041618">SetupControlWriteStatusStage()</a>, <a class="el" href="group__usb.html#ga9c50c0ee6d36d4b87a40018c2ad0fd25">XUsb_ConfigureDevice()</a>, <a class="el" href="group__usb.html#ga143b99da38f8de7e4d0f5cee108fc797">XUsb_EpDataRecv()</a>, <a class="el" href="group__usb.html#gabf09f948bc604c279cb0a12bba14057b">XUsb_EpDataSend()</a>, <a class="el" href="group__usb.html#gae7fef0669e6d6094cc2af067195cc04d">XUsb_EpSetHandler()</a>, and <a class="el" href="group__usb.html#gacc119aa9f628ab0cc3fac2f63073e386">XUsb_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="afabc76c53b986e9ae1c5ae30f52789f9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XUsb_DeviceConfig::NumEndpoints</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of Endpoints. </p>

<p>Referenced by <a class="el" href="xusb__storage_8h.html#a3b40155d0d9fa44133905dd9f6f02ee7">InitUsbInterface()</a>, <a class="el" href="xusb__cp9_8h.html#aa8556bb31c18a1a79e669d398eb3d550">SetConfiguration()</a>, <a class="el" href="group__usb.html#gaeab13bf4d5ed84b5b9e0c1c651f50aaa">XUsb_CfgInitialize()</a>, <a class="el" href="group__usb.html#ga9c50c0ee6d36d4b87a40018c2ad0fd25">XUsb_ConfigureDevice()</a>, and <a class="el" href="group__usb.html#gacc119aa9f628ab0cc3fac2f63073e386">XUsb_IntrHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a39868eeb033b4118b6e80f11a819d79c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XUsb_DeviceConfig::Status</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>USB device Status. </p>

<p>Referenced by <a class="el" href="xusb__dma__intr__storage_8c.html#aaa76bf2e4a9d18c6362bdf783a067da6">DmaIntrHandler()</a>, <a class="el" href="xusb__storage_8h.html#a3b40155d0d9fa44133905dd9f6f02ee7">InitUsbInterface()</a>, <a class="el" href="xusb__storage_8h.html#aaa4db21dc45028300278c1c09cf97719">ProcessRxCmd()</a>, <a class="el" href="xusb__storage_8h.html#aa3bc2a29a012dcb0b3c4afc5d2ed2843">Read10()</a>, <a class="el" href="xusb__storage_8h.html#a8bd3ecc4e2acd07b864ea2392a0394f4">UsbIfIntrHandler()</a>, and <a class="el" href="xusb__storage_8c.html#ac7e4e799fabb2ebbea49a1eafd6625c8">Write10()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
